package com.siyuanren.gcocp.service;

import com.siyuanren.gcocp.entity.WxCourseStatistics;

/**
 * Created by   anxing
 * Project_name gcocp-parent
 * Path         com.siyuanren.gcocp.service
 * Date         2018/6/25
 * Time         15:10
 * Description 课程相关统计service
 */
public interface CourseStatisticsService {

    /**
     * 返回课程订购数量
     * @param courseId
     * @return
     */
    public WxCourseStatistics getCourseOrderCount(Integer courseId);

    /**
     * 返回章节播放次数
     * @param chapterId
     * @return
     */
    public WxCourseStatistics getChapterPlayCount(Integer chapterId);


}
